<%@ include file="/WEB-INF/jsp/includes.jsp"%>
<%@ include file="/WEB-INF/jsp/header.jsp"%>

<h2>activeDevice:online</h2>
<hr />
<h2>Do you want to be friends with them ?</h2>

<p style="color: red; font-size: 9px;">${msg}</p>

<table>
	<thead>
		<th>Nick Name</th>
		<th>Talent</th>
		<th>Hobby</th>
		<th>Conn_datetime</th>
		<th>Distance</th>
		<th>Direction</th>
		<th></th>
	</thead>
	<c:forEach var="people" items="${paList}">
		<tr>
			<td>${people.nickName}</td>
			<td>${people.talent}</td>
			<td>${people.hobby}</td>
			<td>${people.conn_datetime}</td>
			<td>${people.distance}m</td>
			<td>${people.direction}</td>
			<td>
			     <a href="<spring:url value="/displayPerson?id=${people.person_id}" htmlEscape="true"/>">View Detail</a>
			</td>
		</tr>
	</c:forEach>
</table>

<%@ include file="/WEB-INF/jsp/footer.jsp"%>
